::
::自动构建并提交到指定分支-脚本
::
::压缩命令路径
set RAR.EXE=C:\Program Files\WinRAR\WinRAR.exe
::
RD /S /Q  dist
del /Q dist.zip
::
call yarn build
::
"%RAR.EXE%" a -ep1 "dist.zip" "dist"
RD /S /Q  dist
::
git add  -f dist.zip
git add .
git commit -m "auto build and commit"

::推送到远程分支
git push origin master:master
git push gongsi master:master
git push gongsi master:produce

mshta vbscript:msgbox("build and commit success",1,"Message")(window.close)
